package com.inmaytide.website.domain.vo.deploy;

import com.inmaytide.website.domain.entities.deploy.DeployInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * Created by shaojun on 09-11.
 */
public class DeployInfoVo extends DeployInfo {

    /**
     * 操作人名称
     */
    private String operateUserName;

    @NotNull
    private MultipartFile deployZip;

    @NotNull
    private LocalDateTime now = LocalDateTime.now();

    public MultipartFile getDeployZip() {
        return deployZip;
    }

    public void setDeployZip(MultipartFile deployZip) {
        this.deployZip = deployZip;
    }

    public LocalDateTime getNow() {
        return now;
    }

    public String getOperateUserName() {
        return operateUserName;
    }

    public void setOperateUserName(String operateUserName) {
        this.operateUserName = operateUserName;
    }
}
